// 引入样式
import "./index.less";
/* import Food from "./Food";
import ScorePanel from "./ScorePanel"; */
import GameControl from "./GameControl";

const gameControl = new GameControl();
gameControl.init();

// 测试代码
/* const food = new Food();
console.log(food.X, food.Y);
food.change();
console.log(food.X, food.Y); */

/* const scorePanel = new ScorePanel(10, 10);
for (let i = 0; i < 100; i++) {
  scorePanel.addScore();
}
 */
